home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / FAQs / SGIfaqs / ExabyteHowTo-faq < prev    next >
Encoding:
Text File  |  1996-11-11  |  23.1 KB  |  554 lines

  1.  
  2. attached is a doc for adding exabyte tape drives for sgi machines.  
  3. it explains lots of the junk in all the device & kernel config files.
  4.  
  5. also, look at the MLOAD(4), LBOOT(1M), and ML(1M) man pages to 
  6. understand what the mysterious letters in the master.d/* configuration 
  7. files mean.
  8.  
  9.  
  10. -------  begin EXABYTE_SGI_NEED_TO_KNOW file -------------
  11.  
  12. From: mangalam@uci.edu (Harry Mangalam)
  13. Newsgroups: comp.sys.sgi.hardware
  14. Subject: EXABYTE HOWTO FOR SGIs
  15. Date: 6 Jan 1994 06:55:25 GMT
  16. Organization: Microbiology and  Molecular Genetics, UC Irvine
  17.  
  18.    Here it is; a primitive "HOWTO" about getting EXABYTE tape drives to
  19. work on SGI's.  To be accurate, this is how I got an ANDATACO-supplied
  20. EXB-8505 to give me backup rates of about 0.5 MB/s from an Indigo^2 running
  21. 4.0.5H - your mileage will vary.  (This is not a plug for any particular
  22. EXABYTE supplier - they all buy from EXABYTE, repackage them, and ship them
  23. out the door, with varying amounts of value added.  ANDATACO simply had the
  24. best price for the drive I needed at the time and their tech support turned
  25. out to be quite acceptable).
  26.  
  27.    Thanks to Harry Shamansky (The ElectroScience Laboratory, Ohio State),
  28. John Valdes (Dept of Geophysical Sciences, U. Chicago), Sam Fulcomer (Brown
  29. U), Chuck McCalister (EXABYTE) and of course the weightless one (Dave
  30. Olson) for advice, corrections and pointers, although errors that have
  31. crept thru or remain uncorrected are mine.  Warning:  This advice is free
  32. and therefore worth exactly that much.
  33.  
  34.                          Heed at your own risk!
  35.  
  36.                         Verify! Verify! Verify!
  37.  
  38. EXPLICIT WARNING:  There is a VERY IMPORTANT GOTCHA here.  If you modify
  39. the files as described below, make backups using the modified drivers, and
  40. then you have a system disk crash, the UNMODIFIED kernel that you load from
  41. a CD will almost certainly NOT be able to read your tapes to restore your
  42. system and data. To wit, the following exchange:
  43.  
  44. >From John Valdes:
  45.    "If I use the exabyte for system backups, using the standard 8200 mode
  46. (nsv, or compressed mode, 8200c), what are the implications of the above
  47. when trying to restore a crashed system disk? With a crashed system disk,
  48. I'd have to boot from cd, and in particular, I'd have to boot a kernel w/o
  49. my tpsc mods, one which presumedly thinks the exabyte is a QIC drive. From
  50. my previous experience, I would have to conclude that I would be unable to
  51. read my backup tape. Is this correct? If this is true, then would it be
  52. possible to write a tape with the exabyte in a manner so that it would be
  53. readable by the tpsc driver as if it the exabyte were a QIC drive? What
  54. device file should I use (non-variable, no-swap?) and what blocksize (for
  55. mt setblksz)?"
  56.  
  57. Dave Olson replies:
  58.    "You are correct. So if you want a full tape to be restorable in the
  59. miniroot, *with the miniroot kernel*, and the drive type is unknown, you
  60. want to write the backup with 512 byte blocks, in fixed block mode. Or, at
  61. least backup your kernel in the first tape file, and use 512 byte blocks
  62. (fixed or variable) to do that first tape file."
  63.  
  64. So make sure that you have at least the minimal system and files required
  65. to finish the restore on a tape that has been written with the above
  66. parameters!
  67.  
  68. OK, on with the show:
  69.  
  70.    SGI's come with minimal support for Exabytes:  There is some support for
  71. the 8200 and 8500, but unless you like tracking code, it's not well
  72. documented.  Without doing the gymnastics described below, it may work -
  73. the OS may detect it correctly if it's an 8200 or 8500, and even if not,
  74. you may get it to work with the generic SCSI tape driver (which thinks it's
  75. a QIC tape), but your transfer rates will probably be abysmal; mine were ~
  76. 70-140 KB/s).
  77.  
  78.  
  79.  
  80.  
  81. The important files are:
  82.  
  83. /usr/sysgen/master.d/tpsc - contains data for the device drivers including
  84. the SCSI tape drivers that are of interest here.
  85.    (In IRIX 5.1, it's /var/sysgen/master.d/tpsc and in 5.2 it's
  86.    /var/sysgen/master.d/scsi, for reasons best explained by Dave Olson.)
  87.  
  88. /dev/MAKEDEV - a script that when executed, makes the device drivers
  89. (actually the 'device special files') according to info detected by the OS
  90. and info found in the device files in "/usr/sysgen/master.d" .
  91.  
  92. /dev/rmt/tps...., /dev/mt/tps.... - the device driver files that are
  93. created by MAKEDEV to provide access to the tape drive (there is no
  94. difference between the two sets of files - in IRIX 5.1, /dev/mt is a link
  95. to /dev/rmt).
  96.    For the Exabytes, they will typically be grouped like this:
  97.  
  98. tps1d4nrnsv.8200
  99. tps1d4nrnsv.8200c
  100. tps1d4nrnsv.8500
  101. tps1d4nrnsv.8500c
  102.    ^ ^^ ^ ^ ^   ^
  103.    | || | | |   | - compression enabled or not
  104.    | || | | | - drive emulation
  105.    | || | | - variable blocking enabled
  106.    | || | - no (byte) swapping
  107.    | || - no rewind on close
  108.    | | - SCSI ID #  (detected by OS)
  109.    | - SCSI controller number (detected by OS)
  110.  
  111.  
  112.    To take advantage of the different features of the drive, you have to
  113. access it via the appropriate driver ie. if you want to take advantage of
  114. variable blocking that can significantly increase the efficiency of
  115. transfer, you have to specify a driver that supports it (tps1d4nsv.8500c,
  116. for example).  If you consistently use one driver, you should make a
  117. symbolic link to it from /dev/tape ie.
  118.  
  119. # mv /dev/tape /dev/tape.orig
  120. # ln -s /dev/rmt/tps1d4nsv.8500c /dev/tape
  121.  
  122. so that any access you make to the tape will be via the appropriate driver.
  123.  
  124.  
  125.    The MAKEDEV script creates a link to *an* appropriate driver, but it may
  126. not be the one you want to use, hence the above contortion.  It is a good
  127. idea to use a 'rewind-on-close' driver as a default so that you don't leave
  128. the tape in a non-rewound state to mess up the next user (ie. don't use a
  129. driver containing the 'nr' setting).
  130.  
  131. To modify the above-mentioned files "/usr/sysgen/master.d/tpsc" and
  132. "/dev/MAKEDEV":
  133.  
  134. 1) Make backups of them!
  135. 2) Modify "/usr/sysgen/master.d/tpsc" so that it corresponds to your
  136. configuration - the appropriate section of my "/usr/sysgen/master.d/tpsc"
  137. is shown below.
  138.  
  139.                                                         .
  140.                                                         .
  141.                                                         .
  142.  
  143.         /* There are now 3 densities, 8500c/8505 mode, 8500 mode and 8200.
  144.          * If someone make bogus dev numbers using all 4 density bits,
  145.          * it will default back to 8500c mode.  The inventory string sets
  146.          * the drive up exactly like the 8500. */
  147.  
  148.  
  149.         { EXABYTE8200, TP8MM, 7, 8, "EXABYTE", "EXB-8200", 1, "\16",
  150.                 {0, 0, 0, 0},
  151.  
  152. MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
  153.             MTCAN_SILI|MTCAN_CHTYPEANY,
  154.           80, 4*60, 25*60, 5*60, 1024, 128*1024},
  155.  
  156.         { EXABYTE8500, TP8MM, 7, 8, "EXABYTE", "EXB-8500", 6,
  157. "\40\4\16\0\200\7",
  158.                 {0x0, 0x14, 0x0, 0x0},
  159.  
  160. MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
  161.             MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC|
  162.                 MTCAN_SEEK,
  163.           80, 4*60, 25*60, 5*60, 1024, 128*1024},
  164.  
  165.         { EXABYTE8500, TP8MM, 7, 8, "EXABYTE", "EXB-8505", 6,
  166. "\40\4\16\0\200\7",
  167.                 {0x8c, 0x15, 0x90, 0x14},
  168.  
  169. MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
  170.             MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC|
  171.                 MTCAN_SEEK,
  172.           80, 4*60, 25*60, 5*60, 1024, 128*1024},
  173.  
  174. The sequence that makes up the 2nd line of each stanza ("{0x8c, 0x15, 0x90,
  175. 0x14}," for the EXB-8505) is significant for the default settings.  See
  176. below.
  177.    Also, Harry Shamansky uses another trick to extract use and compression
  178. stats from his drive; see Footnote [1] at end.
  179.  
  180.                +++++++++++++++++++++++++++++++++++++++++++++++++++
  181.  
  182. For the /dev/MAKEDEV modifications, it is similar - here is my
  183. interpretation, starting with the pre-existing EXB-8500 stanza:
  184.  
  185.                         *Device:*EXB-8500*) \
  186.                             set        v nrv nsv nrnsv ; \
  187.                             for add in 4  5   6    7 ; do \
  188.                                 mdev=`expr $$minor + $$add`; \
  189.                                 mknod $${prf}$$1 c $$maj $$mdev; \
  190.                                 shift; \
  191.                             done; \
  192.                             for dens in 0 8 ; do \
  193.                                 case $$dens { \
  194.                                 0) kden=8500;; \
  195.                                 8) kden=8200;; \
  196.                                 }; \
  197.                                 set        "" nr ns nrns v nrv nsv nrnsv ;\
  198.                                 for add in 0  1  2    3  4  5   6    7 ; do
  199. \
  200.                                     mdev=`expr $$minor + $$add + $$dens`;\
  201.                                     mknod $${prf}$$1.$$kden c $$maj
  202. $$mdev;\
  203.                                     shift;\
  204.                                 done; \
  205.                             done ;; \
  206.                         *Device:*EXB-8505*) \
  207.                             set        v nrv nsv nrnsv ; \
  208.                             for add in 4  5   6    7 ; do \
  209.                                 mdev=`expr $$minor + $$add`; \
  210.                                 mknod $${prf}$$1 c $$maj $$mdev; \
  211.                                 shift; \
  212.                             done; \
  213.                             for dens in 0 8 16 24; do \
  214.                                 case $$dens { \
  215.                                 0) kden=8500c;; \
  216.                                 8) kden=8500;; \
  217.                                 16) kden=8200c;; \
  218.                                 24) kden=8200;; \
  219.                                 }; \
  220.                                 set        "" nr ns nrns v nrv nsv nrnsv ;\
  221.                                 for add in 0  1  2    3  4  5   6    7 ; do
  222. \
  223.                                     mdev=`expr $$minor + $$add + $$dens`;\
  224.                                     mknod $${prf}$$1.$$kden c $$maj
  225. $$mdev;\
  226.                                     shift;\
  227.                                 done; \
  228.                             done ;; \
  229.  
  230. Note that I've re-arranged the "kden=" statements to put the drive in
  231. '8500c' mode by default - the order has to correspond to the "{0x8c, 0x15,
  232. 0x90, 0x14}," order in the EXB-8505 stanza in the
  233. "/usr/sysgen/master.d/tpsc" file.
  234.  
  235. After you've done this, reboot, allow the autoconfig at restart, and then
  236. run the MAKEDEV script (# MAKEDEV tps) to make the tape drivers.  You
  237. should end up with an 'ls' of the /dev/mt and /dev/rmt that looks something
  238. like:
  239.  
  240. mt% ls tps1d4*
  241. tps1d4              tps1d4nrns          tps1d4nrv           tps1d4nsv
  242. tps1d4.8200         tps1d4nrns.8200     tps1d4nrv.8200      tps1d4nsv.8200
  243. tps1d4.8200c        tps1d4nrns.8200c    tps1d4nrv.8200c     tps1d4nsv.8200c
  244. tps1d4.8500         tps1d4nrns.8500     tps1d4nrv.8500      tps1d4nsv.8500
  245. tps1d4.8500c        tps1d4nrns.8500c    tps1d4nrv.8500c     tps1d4nsv.8500c
  246. tps1d4nr            tps1d4nrnsv         tps1d4ns            tps1d4v
  247. tps1d4nr.8200       tps1d4nrnsv.8200    tps1d4ns.8200       tps1d4v.8200
  248. tps1d4nr.8200c      tps1d4nrnsv.8200c   tps1d4ns.8200c      tps1d4v.8200c
  249. tps1d4nr.8500       tps1d4nrnsv.8500    tps1d4ns.8500       tps1d4v.8500
  250. tps1d4nr.8500c      tps1d4nrnsv.8500c   tps1d4ns.8500c      tps1d4v.8500c
  251.  
  252. Now you can try out the drivers with bru, tar (I use the FSF/gnu tar),
  253. dump, etc and verify (!) that the drivers are working correctly (or at
  254. least working considerably better).
  255.  
  256.  
  257.  
  258. A few remaining points that still troubled me:
  259.    After doing the preceding, I was able to increase the transfer rate from
  260. an initial ~70 KB/s to ~500 KB/s, which was good, but not considering that
  261. the drive is supposed to be capable of 1MB/s (Sam Fulcomer has reported
  262. 700KB/s from a Challenge/IRIX 5.1 combination).
  263.    On my tape drive, I can set both 8200/8500 mode and compression/no
  264. compression by a pushbutton.  There is no appreciable difference in
  265. transfer rate between the comp/no comp setting, although the LED that
  266. signals compression indicated that it is ocurring.
  267.    With compression on, I typically get over 0.5 MB/s tranfer when backing
  268. up binary files and only about 300 kB/s when backing up text files.  I
  269. expected the reverse to be true.  What gives?
  270.  
  271.    The answer has to do with the fact that the rate at which data goes on
  272. the tape depends on how fast the SCSI channel can be filled (although 1
  273. MB/s should be no problem for even a SCSI-1 controller), how efficient the
  274. compression is, and most importantly, how much overhead there is for the
  275. amount of data going on the tape.  Large files have less overhead than
  276. small ones and although it seems counter- intuitive, I get faster transfer
  277. of binaries than of text.
  278.  
  279.  
  280.  
  281. Footnotes:
  282.  
  283. [1] Harry Shamansky used a neat but possibly dangerous (for novices)
  284. approach to extract stats from his drive after a backup; the stats are
  285. normally cleared because of the way that SGI has decided that the drive
  286. should left.  Harry S's approach (NOT supported by SGI):
  287.  
  288.    Here's the stuff I use. One note, however. There are two conflicting
  289.    considerations. If you desire compression statistics, then you should
  290. set
  291.    the drive up as TPUNKNOWN, since SGI feels that the omission of a
  292. trailing
  293.    EOD on the no-rewind device is a bug. [We don't, and we like stat's, so
  294. we
  295.    set it this way] If you do, then hinv will respond with "unknown" as the
  296.    type, as will mt -status, but this has no effect on the drive overall.
  297.    (If you want more specifics about this isue, let me know, we have the
  298.    complete details.) Otherwise, use TP8MM in place of TPUNKNOWN, but the
  299.    compression statistics will be lost.
  300.  
  301. <<Warning from Dave Olson:  The above is true *only* if you have made other
  302. mods so that TPUNKNOWN is basicly the same as an exabyte.  {The reason that
  303. SGI does not support this approach is} the exabyte drive will leave the
  304. tape in a trashed state (no eod mark, which causes all kinds of drive
  305. (*NOT* driver) problems when reading up to that point later on, if the
  306. system is shut down without the tape being rewound/unloaded, etc., OR a
  307. SCSI bus reset occurs before the rewind).>>
  308.  
  309.    Here's our mod to /usr/sysgen/master.d/tpsc - add the comments to the
  310. Exabyte
  311.    stanza; append the driver description to that already existing (I've
  312.    included the apprpriate bit of my "/usr/sysgen/master.d/tpsc"
  313. afterwards):
  314.  
  315.  
  316.         /* There are now 3 densities, 8505 mode, 8500 mode and 8200.
  317.          * If someone make bogus dev numbers using all 4 density bits,
  318.          * it will default back to 8505 mode.  The inventory string sets
  319.          * the drive up exactly like the 8500. */
  320.  
  321.         /* Note that the TPUNKNOWN is needed to workaround the move that
  322.            SGI makes when they handle a TP8MM after write (i.e. a bsFM,
  323.            then fsFM) which clears the compression statistics) */
  324.  
  325.         { TPUNKNOWN, TPUNKNOWN, 7, 8, "EXABYTE", "EXB-8505", 6,
  326.                 "\40\4\16\0\200\7",
  327.                 {0x8c, 0x15, 0x14, 0x8c},
  328.  
  329. MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
  330.             MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC|
  331.                 MTCAN_SEEK,
  332.           80, 4*60, 25*60, 5*60, 1024, 128*1024},
  333.  
  334.    If you have an 8500c drive instead/as well, then you can simple
  335.    replace/copy the above and replace "EXB-8500" with "EXB8500C".
  336.  
  337. NB:  Know what you're doing before you try this!!
  338.  
  339. And his mods to "/dev/MAKEDEV"
  340.  
  341.    In /dev/MAKEDEV, it's rather simple. We prefer to have the compression
  342. on
  343.    by default, hence our 0) setting points to the 0x8c desnity seen above
  344. in
  345.    tpsc:
  346.  
  347.  
  348.                         *Device:*EXB-8505*) \
  349.                             set        v nrv nsv nrnsv ; \
  350.                             for add in 4  5   6    7 ; do \
  351.                                 mdev=`expr $$minor + $$add`; \
  352.                                 mknod $${prf}$$1 c $$maj $$mdev; \
  353.                                 shift; \
  354.                             done; \
  355.                             for dens in 0 8 16; do \
  356.                                 case $$dens { \
  357.                                 0) kden=8505;; \
  358.                                 8) kden=8500;; \
  359.                                 16) kden=8200;; \
  360.                                 }; \
  361.                                 set        "" nr ns nrns v nrv nsv nrnsv ;\
  362.                                 for add in 0  1  2    3  4  5   6    7 ; do
  363. \
  364.                                     mdev=`expr $$minor + $$add + $$dens`;\
  365.                                     mknod $${prf}$$1.$$kden c $$maj
  366. $$mdev;\
  367.                                     shift;\
  368.                                 done; \
  369.                             done ;; \
  370.  
  371.    (obviously the same comments hold for the 8500c above)
  372.  
  373. HS also has a couple of programs that assist in extracting the stats - you
  374. should contact him for the details: hts@hertz.eng.ohio-state.edu.
  375.  
  376.  
  377. Let me know if anyone has problems with this approach, or can point out a
  378. better one.
  379.  
  380. Cheers and Happy New Year!
  381. Harry
  382.  
  383. Harry Mangalam, VCO/Micro+Mol Genetics, Irvine Hall, Coll of Med, UC
  384. Irvine,
  385. Irvine, CA, 92717, Vox:(714) 856-4824, Fax:(714) 725-2118, mangalam@uci.edu
  386.  
  387.                           --- Life is messy ---
  388.  
  389. Newsgroups: comp.sys.sgi.admin,comp.sys.sgi.hardware
  390. From: doctor@kronos.arc.nasa.gov (Terry Fong)
  391. Subject: Exabyte 8205 WORKING!
  392. Summary: using an 8205 to read/write 8200 format tapes
  393. Keywords: Exabyte, 8205
  394. Organization: NASA ARC/ Information Science Division
  395. Date: Fri, 7 Jan 1994 20:22:32 GMT
  396.  
  397. Hi all,
  398.  
  399. Just wanted to publicly thank Dave Olson for his help in getting my
  400. Exabyte 8205 drive working properly. If you missed my previous posts,
  401. I recently installed an 8205 on a 4D/30 and have since been trying to
  402. get it to read & write tapes which can be used on a Sun attached 8200.
  403. The solution is as follows:
  404.  
  405. 1) Modify /usr/sysgen/tpsc/master.d to add support for the Exabyte
  406. 8205 (my drive came from Andataco) by adding the following:
  407.  
  408.     /* The following is entry adds support for an Exabyte 8205. The
  409.      * 8205 is not supported by SGI under IRIX 4.0.5
  410.      *
  411.      */
  412.     { EXABYTE8500, TP8MM, 7, 8, "EXABYTE", "EXB-8205", 6,
  413.     "\40\4\16\0\200\7", {0x14, 0x90, 0x90, 0x90},
  414.       MTCAN_BSF|MTCAN_BSR|MTCAN_PREV|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
  415.     MTCAN_SILI|MTCAN_CHTYPEANY|MTCAN_SETDEN|MTCAN_SPEOD|MTCAN_SYNC|
  416.       MTCAN_SEEK,
  417.       80, 4*60, 25*60, 5*60, 1024, 63*1024},
  418.                     ^
  419.                     |--- see below
  420.  
  421. Note: Harry Mangalam's "EXABYTE HOWTO FOR SGIs", which was posted
  422. recently suggests using "128" instead of "63". This is okay if you are
  423. only going to read tapes on an SGI. If, however, you want to be able
  424. to read your tapes on a Sun, you have to use "63". In Dave Olson's words:
  425.  
  426. | Change the 128 to 63, and Sun systems will be a lot happier (assuming
  427. | you are using the variable block devices.  Sun, for reasons best known
  428. | to them, won't do > 64K DMA, and translated that into the largest
  429. | block size they write; they do some godawful things with sizes >
  430. | 64KB-2 bytes.  This isn't necessary if the 8200 is on another
  431. | SGI system, but it sounds like for you, they are all on Suns.
  432.  
  433. Also, this entry specifies the four densities {0x14, 0x90, 0x90, 0x90}
  434. which correspond to {8200 mode, 8200 compressed mode, 8200 compressed
  435. mode, 8200 compressed mode}.
  436.  
  437. 2) Modify /dev/MAKEDEV and add the following to create devices:
  438.  
  439.     *Device:*EXB-8205*) \
  440.     set        v nrv nsv nrnsv ; \
  441.     for add in 4  5   6    7 ; do \
  442.         mdev=`expr $$minor + $$add`; \
  443.         mknod $${prf}$$1 c $$maj $$mdev; \
  444.         shift; \
  445.     done; \
  446.     for dens in 0 8; do \
  447.         case $$dens { \
  448.         0) kden=8200;; \
  449.         8) kden=8200c;; \
  450.         }; \
  451.         set        "" nr ns nrns v nrv nsv nrnsv ;\
  452.         for add in 0  1  2    3  4  5   6    7 ; do \
  453.         mdev=`expr $$minor + $$add + $$dens`;\
  454.         mknod $${prf}$$1.$$kden c $$maj $$mdev;\
  455.         shift;\
  456.         done; \
  457.     done ;; \
  458.  
  459. This will create the appropriate devices (i.e., tps0d3nsv.8200,
  460. tps0d3.8200c, etc.).
  461.  
  462. 3) autoconfig, run /dev/MAKEDEV, and reboot.
  463.  
  464.  
  465. Once this is done, you can create tapes on the 8205 (in 8200 mode)
  466. which can be read by a Sun's 8200. Just use the non (byte) swapping,
  467. variable blocking device (e.g., "/dev/mt/tps0d3nsv.8200") when making
  468. tapes. This is required since Sun's always use non (byte) swapping,
  469. variable blocking devices.
  470.  
  471. ------------------------------------------------------------------------------
  472. To make a dump tape of "/", for example, use the following on the SGI:
  473.  
  474.   dump 0bdfsu 56 54000 /dev/mt/tps0d3nrnsv 6000 /
  475.  
  476. Note that blocking is specified to be "56" since Sun's mtio(4) can
  477. only r/w a maximum of 65535 bytes and 56 KB is the highest multiple of
  478. 8 KB less than 65535 (see SGI's dump(1M) for details).
  479.  
  480. This tape can then be read on a Sun's 8200 using restore:
  481.  
  482.   restore if /dev/nrst1
  483.  
  484. ------------------------------------------------------------------------------
  485. To make a tar tape, on the SGI:
  486.  
  487.   tar cvf /dev/mt/tps0d3nsv blah...
  488.  
  489. This tape can then be read on a Sun's 8200 using:
  490.  
  491.   tar bxvf 126 /dev/rst1
  492. ------------------------------------------------------------------------------
  493.  
  494. Thanks again Dave!
  495.  
  496. Cheers,
  497.  
  498. Terry Fong
  499. NASA Ames Research Center
  500. --
  501. _______________________________________________________________________________
  502.  "You do not understand anything       Terry Fong <terry@ptolemy.arc.nasa.gov>
  503.   until you understand it in more      NASA Ames, M/S 269-3, Moffett Field, CA
  504.   than one way..." -- Marvin Minsky         (415) 604-6063, (415) 604-6081 lab
  505.  
  506. From: olson@anchor.esd.sgi.com (Dave Olson)
  507. Newsgroups: comp.sys.sgi.hardware
  508. Subject: Re: EXABYTE HOWTO FOR SGIs
  509. Date: 8 Jan 1994 08:24:17 GMT
  510. Organization: Silicon Graphics, Inc.  Mountain View, CA
  511.  
  512. In <2gi37gINN3p1@network.ucsd.edu> sd@chem.ucsd.edu (Steve Dempsey) writes:
  513. | Harry Mangalam writes:
  514. | >   SGI's come with minimal support for Exabytes:  There is some support for
  515. | >the 8200 and 8500, but unless you like tracking code, it's not well
  516. | >documented.  Without doing the gymnastics described below, it may work -
  517. | >the OS may detect it correctly if it's an 8200 or 8500, and even if not,
  518. | >you may get it to work with the generic SCSI tape driver (which thinks it's
  519. | >a QIC tape), but your transfer rates will probably be abysmal; mine were ~
  520. | >70-140 KB/s).
  521. |
  522. | Now you've got me worried.  I've been using 8200 and 8500 Exabytes on
  523. | a 4D/25 at 4.0.x for three years, and on a Challenge at 5.0.1 since last
  524. March.
  525. | I've never had a bit of trouble with them.  I never had to modify the
  526. kernels,
  527. | and I've always been able to achieve the advertised transfer rates (240KB/sec
  528. | for the 8200, 500KB/sec for the 8500).  I've even been able to read the tapes
  529. | from a miniroot.
  530. |
  531. | Have I just been lucky, or do these changes apply only to enabling the
  532. | data compression features?
  533.  
  534. I thought that this part was going to get reworded...
  535.  
  536. It's accurate in some sense, but misleading.  SGI supports, and is
  537. fully functional, for the 8200 and 8500, and the performance for the
  538. drives we ship is close to what the drive can achieve.  3rd party
  539. drives may vary.  8205 and 8505 and 8[25]0[05]C drives aren't officially
  540. supported, but can mostly be made to work pretty well.
  541.  
  542. SGI no longer sells Exabytes on the "low end" systems, and officially
  543. they aren't supported (except for those we sold for those in the past,
  544. i.e., we "officially" don't support them on new systems/purchases),
  545. but since the driver is identical, they do in fact work, and I believe
  546. all the support folks don't worry about the technicality.
  547.  
  548. --
  549.  
  550. The most beautiful things in the world are              |   Dave Olson
  551. those from which all excess weight has been             |   Silicon Graphics
  552. removed.  -Henry Ford                                   |   olson@sgi.com
  553.  
  554.